package com.guodu.entity;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "VIEW_PURCHASING_TWO_DETAIL")
public class ViewPurchasingTwoDetail {


	@Id
	@Column(name = "ID", precision = 22, scale = 0)
	private Long id;
	@Column(name = "YEARS", length = 4)
	private String years;
	@Column(name = "MONTH", length = 2)
	private String month;
	@Column(name = "FUNITS_ID", precision = 22, scale = 0)
	private Long funitsId;
	@Column(name = "UNITS_ID", length = 20)
	private Long unitsId;
	@Column(name = "COUNTS", precision = 22, scale = 0)
	private Long counts;
	@Column(name = "MONEY", precision = 22, scale = 0)
	private BigDecimal money;
	@Column(name = "MONEYSJ", precision = 22, scale = 0)
	private BigDecimal moneysj;
	@Column(name = "MONEYJY", precision = 22, scale = 0)
	private BigDecimal moneyjy;
	@Column(name = "ALL_COUNT", precision = 22, scale = 0)
	private Long allCount;
	@Column(name = "ALL_MONEY", precision = 22, scale = 0)
	private BigDecimal allMoney;
	@Column(name = "ALL_MONEYSJ", precision = 22, scale = 0)
	private BigDecimal allMoneysj;
	@Column(name = "ALL_MONEYJY", precision = 22, scale = 0)
	private BigDecimal allMoneyjy;
	
	
	public ViewPurchasingTwoDetail(){
		
	}
	public ViewPurchasingTwoDetail(Long funitsId){
		this.funitsId = funitsId;
	}
	public ViewPurchasingTwoDetail(Long funitsId, Long unitsId){
		this.funitsId = funitsId;
		this.unitsId = unitsId;
	}
	
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getYears() {
		return years;
	}
	public void setYears(String years) {
		this.years = years;
	}
	public String getMonth() {
		return month;
	}
	public void setMonth(String month) {
		this.month = month;
	}
	public Long getFunitsId() {
		return funitsId;
	}
	public void setFunitsId(Long funitsId) {
		this.funitsId = funitsId;
	}
	public Long getUnitsId() {
		return unitsId;
	}
	public void setUnitsId(Long unitsId) {
		this.unitsId = unitsId;
	}
	public Long getCounts() {
		return counts;
	}
	public void setCounts(Long counts) {
		this.counts = counts;
	}
	public BigDecimal getMoney() {
		return money;
	}
	public void setMoney(BigDecimal money) {
		this.money = money;
	}
	public BigDecimal getMoneysj() {
		return moneysj;
	}
	public void setMoneysj(BigDecimal moneysj) {
		this.moneysj = moneysj;
	}
	public BigDecimal getMoneyjy() {
		return moneyjy;
	}
	public void setMoneyjy(BigDecimal moneyjy) {
		this.moneyjy = moneyjy;
	}
	public Long getAllCount() {
		return allCount;
	}
	public void setAllCount(Long allCount) {
		this.allCount = allCount;
	}
	public BigDecimal getAllMoney() {
		return allMoney;
	}
	public void setAllMoney(BigDecimal allMoney) {
		this.allMoney = allMoney;
	}
	public BigDecimal getAllMoneysj() {
		return allMoneysj;
	}
	public void setAllMoneysj(BigDecimal allMoneysj) {
		this.allMoneysj = allMoneysj;
	}
	public BigDecimal getAllMoneyjy() {
		return allMoneyjy;
	}
	public void setAllMoneyjy(BigDecimal allMoneyjy) {
		this.allMoneyjy = allMoneyjy;
	}
	
	
	

}